package com.um2.simplexe.serveur.plugins.calcul3D.util;


import com.um2.simplexe.serveur.plugins.calcul3D.util.UtilitaireCalcul3D;
public class Test {

	

	public static void main(String[] args) {
	Plan p1 = null ;
	Plan p2 = null ; ;
	Plan p3 = null ; ;
	try {
		p1 = new Plan(3,4,10,Plan.INF_EGAL,8);
		p2 = new Plan(10,10,5,Plan.INF_EGAL,2) ;
		p3 = new Plan(10,20,10,Plan.INF_EGAL,100) ;
	} catch (Exception e1) {
		System.err.println("erreur test: "+e1.getMessage());
		return ;
	}
	
		
	Point res;

		try {
			res = UtilitaireCalcul3D.intersectionDeTroisPlans(p1,p2,p3);
			System.out.println("resultat = "+res.toString());
		} catch (PlansParallelesException e) {
			System.err.println("erreur : "+e.getMessage());
		}

	


	
	}
	
}
